Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

365
Views
Vue 3 components not working [Vue warn]: Invalid VNode type: undefined

I recently upgraded to VueJS 3 and am using async components, but when importing them they do not work as they should. I have tried to Google fixes for this but nothing worked.

This is my app JS file (ps if anyone knows a better way to load components better (each basically in their own "app", let me know! :wink:)):

import { createApp, defineAsyncComponent } from 'vue';
import '../sass/app.scss';

const app = createApp({});

app.component('test', () => defineAsyncComponent(() => import(/* webpackChunkName: "components/Test" */ './components/Test'))).mount('#test-v');
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!